@import './modules/footer.scss';
@import './modules/header.scss';
@import './modules/reset.scss';

$color:#f25d8e #99a2aa #fff;

/* detail商品详情页 开始 G 2020 0822 */
.shopcar{
    position: fixed;
    width: 100px;
    height: 100px;
    right: 20px;
    top: 250px; 
    border: 2px solid nth($color,1);
    border-radius: 5px;
    background-color: #fff;
    display: flex;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    color: nth($color,1);
    i{
        font-size: 75px !important; 
    }
}
// .fly{
//     position: absolute;
//     z-index: 10;
//     width: 20px;
//     height: 20px;
//     border-radius: 3px;
//     background-image: linear-gradient(-48deg,#ff6a9c,#fe8574);
//     left: 740px;
//     top: 440px;
// }
main{
    height: 510px;
    
    .guide{
        width: 1160px;
        padding: 10px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        font-size: 12px;
        color: nth($color,2);
        a{
            color: #000;
        }
        i{
            margin: 0 5px;
        }
    }
    .content{
        width: 1160px;
        min-height: 420px;
        margin: 0 auto;
        padding-bottom: 20px;
        position: relative;
        .content-left-img{
            float: left;
            width: 300px;
            height: 400px;
            margin-right: 20px;
            overflow: hidden;
            border-radius: 5px;
            cursor: move;
            img{
                width: 100%;
                height: 100%;
            }
            span{
                width: 150px;
                height: 200px;
                position: absolute;
                background-color: rgba(255,255,255,.5);
            }
        }
        .content-left-img-mag{
            position: absolute;
            z-index: 10;
            left: 320px;
            width: 300px;
            height: 400px;
            overflow: hidden;
            border-radius: 5px;
            img{
                width: 200%;
                position: absolute;
            }
        }
        .dis{
            display: none;
        }
        .content-right{
            float: left;
            width: 840px;
            h3{
                margin-top: 10px;
                font-size: 18px;
                color: #222222;
            }
            .content-title{
                color: nth($color,2);
                font-size: 14px;
                margin-right: 15px;
            }
            .content-right-time{
                font-size: 14px;
                line-height: 14px;
                margin-top: 30px;
                &-data{
                    color: #222222;
                }
            }
            .content-right-address{
                padding-bottom: 8px;
                margin-top: 10px;
                margin-bottom: 20px;
                align-items: center;
                display: flex;
                border-bottom: 1px dashed #e7ecf1;
                line-height: 38px;
                &-data1{
                    font-size: 14px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    max-width: 430px;
                }
                &-data2{
                    margin-right: 5px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    margin-left: 10px;
                    font-size: 12px;
                    color: nth($color,2);
                    line-height: 14px;
                    max-width: 250px;
                }
                i{
                    margin-left: 15px;
                    margin-right: 2px;
                    font-size: 16px;
                    color: #6d757a;
                }
                &-look{
                    cursor: pointer;
                    font-size: 12px;
                    color: #6d757a;
                    line-height: 14px;
                }
            }
            .content-right-chose{
                width: 840px;
                min-height: 280px;
                ul{
                    min-height: 40px;
                    margin-bottom: 10px;
                    display: flex;
                    align-items: center;
                    .content-con{
                        display: flex;
                        align-items: center;
                        flex-wrap: wrap;
                    }
                    li{
                        font-size: 12px;
                    }
                    li.content-title{
                        width: 42px;
                    }
                    li:not([class="content-title"]){
                        height: 38px;
                        line-height: 38px;
                        padding: 0 30px;
                        margin-right: 10px;
                        margin-bottom: 10px;
                        border: 1px solid #ccd0d7;
                        border-radius: 4px;
                        position: relative;
                        cursor: pointer;
                    }
                    li.ac{
                        color: nth($color,1);
                        border: 1px solid nth($color,1);
                        box-shadow: inset 0 0 0 1px nth($color,1);
                    }
                }
                &-num{
                    li:nth-of-type(2){
                        padding: 0 !important;
                        width: 160px;
                        display: flex;
                        align-items: center;
                        span{
                            flex: 1.1;
                            text-align: center;
                        }
                        i{
                            display: inline-block;
                        }
                        i:nth-of-type(1){
                            margin-left: 14px;
                            width: 14px;
                            height: 14px;
                            cursor: pointer;
                            background: url(/images/minus.png) 50% no-repeat;
                            background-size: contain;
                        }
                        i:nth-of-type(2){
                            margin-right: 14px;
                            width: 14px;
                            height: 14px;
                            cursor: pointer;
                            background: url(/images/plus.png) 50% no-repeat;
                            background-size: contain;
                        }
                    }
                }
                &-statement{
                    margin-top: 10px;
                    span{
                        margin-left: 60px;
                        display: inline-block;
                        font-size: 12px;
                        color: #999;
                    }
                }
                &-buybtn{
                    button{
                        width: 240px;
                        line-height: 50px;
                        border-radius: 3px;
                        font-size: 16px;
                        cursor: pointer;
                        color: #fff;
                        background-image: linear-gradient(-48deg,#ff6a9c,#fe8574);
                        box-shadow: 0 3px 4px 0 #fdb8cc;
                        margin-left: 57px;
                        margin-top: 20px;
                    }
                }
            }
        }
    }
}
/* detail商品详情页 结束 G 2020 0822 */